﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="totalResultsCriteria.aspx.cs" Inherits="totalResultsCriteria" %>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Language" content="tr">
<title>Liste</title>
<script src="/s/common.js" type="text/javascript"></script>
<script src="/s/serverRequest.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="/c/vk.css">
<base target="pano2">
</head>

<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" onload="removeQVNSpecificOptionsIfQVO();">


<form method="POST" action="totalResults.aspx" target="pano" name="31_PRP301.asp">

<table CLASS="table20" border="0" cellpadding="0" cellspacing="1"  width="100%" style="border-width:1px; border-collapse: collapse" bordercolor="#FFFFFF" >
	<tr>
		<td class="t_head" align="center" height="19" colspan="6" style="background-color: #006699"> 
		<font color="#FFFFFF" size="2">Bayi <b>%</b> Analizi</font></td>
	</tr>

	<tr>
		<td width="15%" class="t_head" align="center" height="13">Yıl - Ay</td>
		<td width="15%" class="t_head" align="center" height="13">Periyod</td>
		<td width="15%" class="t_head" align="center" height="13">Marka</td>
		<td width="15%" class="t_head" align="center" height="13">Şebeke</td>
		<td align="center"  class="t_head" align="center" height="13" width="15%">Sıralama</td>
		<td align="center"  class="t_head" align="center" height="13" width="25%"></td>
	</tr>
	<tr>
		<td align="center"><font size="1">
		<select size="1" name="m" style="font-family: Tahoma; font-size: 8pt; background-color: #FFFFFF" tabindex="4">
		    <asp:Literal id="monthSelectionOptions" runat="server" />
        </select>
		</font></td>
		<td width="17%" align="center"><font size="1">
		<select size="1" name="c" style="font-family: Tahoma; font-size: 8pt; background-color: #FFFFFF" tabindex="4">
            <%=periodSelectionOptions%>
        </select>
		</td>
		
        <td align="center">
            
            <select onchange="selectMake();" size="1" id="make" name="make" style="width:50%;font-family: Tahoma; font-size: 8pt; background-color: #FFFFFF" tabindex="4">
                <asp:Literal ID="makeSelection" runat="server" />
            </select>
            
        </td>        		
		
		
		<td align="center">
	        <select size="1" id="ct" name="ct" style="font-family: Tahoma; font-size: 8pt; background-color: #FFFFFF" tabindex="4">
                <asp:Literal ID="networklist" runat="server" />
            </select>            
		</td>
        
		<td align="center"> 
		    <select size="1" name="SIRA" style="font-family: Tahoma; font-size: 8pt; background-color: #FFFFFF" tabindex="4">
            <option selected value="Bayi_Kodu">Bayi Kodu</option>
		    <option value="Bayi">Bayi ismi</option>
            </select>
        </td>

        
		<td align="center" ><font size="1">
		&nbsp; </font>
    <input type="submit" value="        Ara        " name="B1" style="font-family: Tahoma; font-size: 8pt">

    
    <input type="reset" value="Temizle" name="B2" style="font-family: Tahoma; font-size: 8pt"></td>
	</tr>
        <% if (userProjectName == Global.PROJECT_QRA) %>
        <% { %>
        <tr>
            <td class="t_head" align="right">
                Onarım Durumu: &nbsp;&nbsp;&nbsp;
            </td>
            <td colspan="5" align="left">
                <select name="flt" style="font-family: Tahoma; font-size: 8pt; background-color: #FFFFFF">
                    <option value="">Tümü</option>
                    <option value="QY=1">Olay yerinde onarıldı</option>
                    <option value="QY=2">Olay yerinde onarılamadı, servise çekildi</option>
                    <option value="QY=3">Olay yerinde onarılamadı, kendim servise çektim</option>
                </select>
            </td>
        </tr>
        <% } %>	
	</table>
    <hr noshade color="#F87878">
</form>
</body>
<script language="javascript" type="text/javascript">

    function selectMake()
    {
        ServerRequest.Execute("/jsCommand/selectMake.aspx", "POST", Array("make", g("make").value));
    }

    function removeQVNSpecificOptionsIfQVO()
    {
        if(<asp:Literal id="isQVOOrDacia" runat="server" />)
        {
            var obj = document.getElementById("ct");
            obj.options.length = 1; obj.options[0].innerHTML = "Şebeke 1: Yetkili Satıcı";
        }
    }    
</script>
</html>